﻿<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="SubjectListControl.ascx.vb" Inherits="SISSAT.WebDevelopment.Shared.UserControls.SubjectListControl" %>
<%@ Register TagPrefix="sissat" TagName="DropDownListControl" Src="/Shared/UserControls/DropDownListBaseControl.ascx" %>
<sissat:DropDownListControl ID="SchoolYearDropDownList" runat="server" LabelText="SY/Semester" IsReadOnly="false" AutoPostBack="True" />
<table class="subjects">
    <asp:Repeater ID="SubjectRepeater" runat="server">
        <HeaderTemplate>
            <tr class="header">
                <td class="col1">Subject</td>
		        <td class="col2">Code</td>
		        <td class="col3">Day</td>
                <td class="col4">Time</td>
		        <td class="col5">Room No.</td>
	        </tr>
            <tr>
                <td colspan="5"><hr /></td>
            </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr class="contentdata">
                <td class="alignl">
                    <a href='/Pages/Home/Subjects.aspx?scid=<%#Eval("ScheduleId") %>' class='fcolor1' title='View <%#Eval("SubjectName") %> Details'><%#Eval("SubjectName")%></a>
                </td>
		        <td><%#Eval("SubjectCode")%></td>
		        <td><%#Eval("Day")%></td>
                <td><%#Eval("Time")%></td>
		        <td><%#Eval("RoomNumber")%></td>
	        </tr>
        </ItemTemplate>
    </asp:Repeater>
</table>